package com.hrg.seer.sdk.rbk.api;

import lombok.Getter;

@Getter
public enum ControlApiEnum {
	// 机器人控制API（端口：19205）
	ROBOT_CONTROL_STOP_REQ(2000, "停止开环运动", 19205),
	ROBOT_CONTROL_RELOC_REQ(2002, "重定位", 19205),
	ROBOT_CONTROL_COMFIRMLOC_REQ(2003, "确认定位正确", 19205),
	ROBOT_CONTROL_CANCELRELOC_REQ(2004, "取消重定位", 19205),
	ROBOT_CONTROL_MOTION_REQ(2010, "开环运动", 19205),
	ROBOT_CONTROL_LOADMAP_REQ(2022, "切换载入的地图", 19205),
	ROBOT_CONTROL_CLEARMOTORENCODER_REQ(2024, "电机编码器标零", 19205),
	ROBOT_CONTROL_UPLOAD_AND_LOADMAP_REQ(2025, "上传并切换载入地图", 19205),
	ROBOT_CONTROL_CLEAR_WEIGHTDEVVALUE_REQ(2026, "称重传感器标零", 19205);

	ControlApiEnum(int apiNo, String name, int port) {
		this.apiNo = apiNo;
		this.name = name;
		this.port = port;
	}

	private final int apiNo;
	private final String name;
	private final int port;
}
